package com.phospherus.common.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author songjinlong
 * @version 1.0
 * @since 2017/12/21
 */
@Configuration
@ConfigurationProperties(prefix = "upload")
public class UpLoadConf {
    private String baseDirectory;

    public String getBaseDirectory() {
        return baseDirectory;
    }

    public void setBaseDirectory(String baseDirectory) {
        this.baseDirectory = baseDirectory;
    }

    @Override
    public String toString() {
        return "UpLoadConf{" +
                "baseDirectory='" + baseDirectory + '\'' +
                '}';
    }
}
